//导出属于员工的路由规则
import employees from '@/api/constant/employees'
import Layout from '@/layout'

export default {
    name: 'employees',
    path: '/employees',
    component: Layout,
    children: [
        {
            path: '',
            component: () => import('@/views/employees'),
            name: 'employees',
            meta: {
                title: '员工管理',
                icon: 'people'
            }
        },
        {
            path: 'detail',
            component: () => import('@/views/employees/detail'),
            meta: {
                title: '员工信息详情',
            },
            hidden: true,
        },
        {
            path: 'print',
            component: () => import('@/views/employees/print.vue'),
            hidden: true,
            meta: {
              title: '打印',
            }
          },
    ]
}